<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS精灵</title>
    <style>
        /* * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        } */

        li {
            list-style: none;
        }

        .box {
            margin: 100px auto;
            padding: 0 40px;
            width: 1180px;
            height: 42px;
            background-color: rgba(0, 0, 0, 0.01);
        }

        .box ul {
            display: flex;
            justify-content: space-between;
        }

        .box li {
            display: flex;
            line-height: 42px;
            text-align: center;
        }

        .box li h5 {
            margin-right: 10px;
            width: 36px;
            height: 42px;
            /* background-color: blue; */
            background: url(./sprite.png) 0 -192px;
        }

        .box li:nth-child(2) h5 {
            background-position: -41px -192px;
        }

        .a {
            border: 1px solid #000;
        }

        img {
            display: block;
            /* vertical-align: top; */
        }
    </style>
</head>

<body>
    <div class="a">
        <img src="./course07.png" alt="">
    </div>
    <div class="box">
        <ul>
            <li>
                <h5></h5>
                <p>品类齐全，轻松购物</p>
            </li>
            <li>
                <h5></h5>
                <p>品类齐全，轻松购物</p>
            </li>
            <li>
                <h5></h5>
                <p>品类齐全，轻松购物</p>
            </li>
            <li>
                <h5></h5>
                <p>品类齐全，轻松购物</p>
            </li>

        </ul>
    </div>


</body>

</html>